package com.itheima.demo;

/**
 * ClassName: demo_Abstract <br/>
 * Description: <br/>
 * date: 2020/6/26 16:37<br/>
 *
 * @author Zhang Han
 * @since JDK 1.8
 */
public class demo_Abstract {
    public static void main(String[] args) {
        Dag d = new Dag();
        d.drink();
        d.eat();

        Cat c = new Cat();
        c.drink();
        c.eat();

    }
}
